package com.tywj.panda.customer.common.event

import com.tywj.panda.customer.common.bus.LiveEventBus

object UserEvent {

    /**
     * 用户登录成功刷新事件
     */
    val loadUserDataSuccessEvent: LiveEventBus.Event<String>
        get() = LiveEventBus.get("user_load_details_success_event")

    /**
     * 用户登录成功关闭一键登录界面事件
     */
    val closeAuthLoginUI: LiveEventBus.Event<Unit>
        get() = LiveEventBus.get("user_close_activity_event")


    /**
     * 用户退出登录成功
     */
    val logoutSuccessEvent: LiveEventBus.Event<Unit>
        get() = LiveEventBus.get("user_logout_success_event")

}